package com.nanhai.buddhist.college.module.system.convert.rolegroup;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.system.controller.admin.rolegroup.vo.*;
import com.nanhai.buddhist.college.module.system.dal.dataobject.rolegroup.RoleGroupUserDO;

/**
 * 角色群组用户 Convert
 *
 * @author xqenzo@163.com
 */
@Mapper
public interface RoleGroupUserConvert {

    RoleGroupUserConvert INSTANCE = Mappers.getMapper(RoleGroupUserConvert.class);

    RoleGroupUserDO convert(RoleGroupUserCreateReqVO bean);

    RoleGroupUserDO convert(RoleGroupUserUpdateReqVO bean);

    RoleGroupUserRespVO convert(RoleGroupUserDO bean);

    List<RoleGroupUserRespVO> convertList(List<RoleGroupUserDO> list);

    PageResult<RoleGroupUserRespVO> convertPage(PageResult<RoleGroupUserDO> page);

    List<RoleGroupUserExcelVO> convertList02(List<RoleGroupUserDO> list);

}
